import request from '@/util/request'

const baseUrl = '' // http://localhost:7778

export function pageGetAppDevice(data) {
  return request({
    url: baseUrl + '/app/device/pageGet',
    method: 'post',
    data
  })
}

export function updateAppDevice(data) {
  return request({
    url: baseUrl + '/app/device/update',
    method: 'post',
    data
  })
}

export function insertAppDevice(data) {
  return request({
    url: baseUrl + '/app/device/insert',
    method: 'post',
    data
  })
}

export function deleteAppDeviceList(data) {
  return request({
    url: baseUrl + '/app/device/deleteList',
    method: 'post',
    data
  })
}

